package com.wb.Service.impl;
import com.wb.Dao.BookDao;
import com.wb.Service.BookService;
public class BookServiceImpl implements BookService {

    private BookServiceImpl() {
        System.out.println("BookServiceImpl constructor");
    }

    private BookDao bookDao;

    @Override
    public void save() {
        System.out.println("这里是BookService");
        this.bookDao.save();
    }

    public void setBookDao(BookDao bookDao) {
        this.bookDao = bookDao;
    }
}
